package com.click369.mianshiqingbao.mapper;

import com.click369.mianshiqingbao.pojo.ClassifyBean;
import com.click369.mianshiqingbao.pojo.ClassifyBeanExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 题目分类信息的数据访问接口
 */
public interface ClassifyBeanMapper {
    long countByExample(ClassifyBeanExample example);

    int deleteByExample(ClassifyBeanExample example);

    int deleteByPrimaryKey(Integer classifyId);

    int insert(ClassifyBean record);

    int insertSelective(ClassifyBean record);

    List<ClassifyBean> selectByExample(ClassifyBeanExample example);

    ClassifyBean selectByPrimaryKey(Integer classifyId);

    int updateByExampleSelective(@Param("record") ClassifyBean record, @Param("example") ClassifyBeanExample example);

    int updateByExample(@Param("record") ClassifyBean record, @Param("example") ClassifyBeanExample example);

    int updateByPrimaryKeySelective(ClassifyBean record);

    int updateByPrimaryKey(ClassifyBean record);
}